home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / bbs / mhis020.zip / WILDCARD.MEC < prev    next >
INI File  |  1996-12-16  |  1KB  |  26 lines

  1. [cls white]The following wildcards are valid:
  2. [green]
  3. [yellow   ]        Wildcard:                Meaning:
  4. [lightblue]──────────────────────────────────────────────────────────────────────────────
  5. [green]        *                        Skip 0 or more characters.
  6.         ?                        Skip 1 character
  7.         [[]                       Match any one of the characters
  8.                                  between the brackets.
  9.         !                        Match anything but the following character
  10.                                  If this is followed by the [] wildcard,
  11.                                  it means match anything but the characters
  12.                                  within the brackets.
  13. [white]For example:
  14.  
  15. [yellow]        Wildcard string:        Will match:
  16. [lightblue]──────────────────────────────────────────────────────────────────────────────
  17. [green]        *                       anything
  18.         s*                      anything starting with "s"
  19.         *cat*                   any string containing the string "cat".
  20.         ?ine                    any 4 letter string ending with "ine".
  21.         [[cbhr]at                cat, bat, hat, or rat.
  22.         ![[abcde]*               any string which does not begin with
  23.                                 a,b,c,d, or e.
  24.         ????                    any 5 letter string
  25.                 
  26.